#ifndef __CZF_SLIDERCTRL_H__
#define __CZF_SLIDERCTRL_H__

#include "SimpleWnd.h"

class CSliderCtrl: public CWnd
{
public:
   CSliderCtrl();
   virtual ~CSliderCtrl();

   HWND Create(HWND hParentWnd, 
               RECT& rcPos,
               UINT uID,
               DWORD dwCtrlStyle = TBS_TOOLTIPS|TBS_HORZ|TBS_NOTICKS,
               DWORD dwStyle = WS_CHILD|WS_VISIBLE);

   void SetRange(WORD wMin, WORD wMax, BOOL bRedraw=TRUE);
   void SetPos(WORD wPos, BOOL bRedraw=TRUE);
   UINT SetPageSize(UINT wPageSize);
   UINT GetPos();
};
#endif 
